package com.example.administrator.mobile;
//zhongyao

import android.app.FragmentManager;
import android.app.FragmentTransaction;
import android.content.Intent;
import android.support.v4.app.Fragment;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.ListView;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.TextView;

import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;

public class UninstallActivity extends AppCompatActivity {
    BlankFragment blankFragment ;
    System system;
    Recycle recycle;
    RadioGroup radioGroup;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_uninstall);


        system = new System();
        recycle =new Recycle();

        blankFragment = new BlankFragment();
        getSupportFragmentManager().beginTransaction()
                .replace(R.id.container, blankFragment)
                .addToBackStack("")
                .commit();





    }



    public void fanhui(View view) {
        Intent intent = new Intent(this,SoftActivity.class);
        startActivity(intent);
    }







    public void system(View view) {
        getSupportFragmentManager().beginTransaction()
                .replace(R.id.container,system)
                .addToBackStack("")
                .commit();

    }

    public void clean(View view) {
        getSupportFragmentManager().beginTransaction()
                .replace(R.id.container,recycle)
                .addToBackStack("")
                .commit();
    }

    public void people(View view) {
        getSupportFragmentManager().beginTransaction()
                .replace(R.id.container, blankFragment)
                .addToBackStack("")
                .commit();
    }
}
